﻿
#region 程序集引用区
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SubSonic.DataProviders;
using SubSonic.Extensions;
using System.Linq.Expressions;
using SubSonic.Schema;
using System.Collections;
using SubSonic;
using SubSonic.Repository;
using System.ComponentModel;
using System.Data.Common;
using SubSonic.Query;
using System.Xml;
using System.Xml.Serialization;
using System.Reflection;
#endregion

namespace WebeTerm.Model{
    
    /// <summary>
    /// 文 件 名: CompanyInfo.cs
    /// CLR版本 : v2.0.50727
    /// 作   者 : lijun.hu
    /// 版    权: Copyright @2011 lijun.hu(FORCEN HU) 
    /// 电子邮箱：lijun.hu@shinsoft.net
    /// 说    明: 未定义
    /// 生成日期: 2014年12月5日
    /// </summary>
    [Serializable]
    [Description(@"未定义")]
    public partial class CompanyInfo:BaseModel, IModel{
        
        #region 构造函数
        /// <summary>
        /// 未定义
        /// </summary>
        public CompanyInfo() : base(new CompanyInfoTable(null)) { 
            
        }               
        #endregion
        
        #region CompanyInfo属性列表
        System.Guid m_Id;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.Guid  Id
        {
            get { return m_Id; }
            set
            {
                //if(m_Id!=value)
                {
                    m_Id=value;
                    UpdateColumn(@"Id");
                }
            }
        }
        
        System.String m_CompanyCode;
        /// <summary>
        /// 公司编码
        ///</summary>
        [XmlAttribute()]
        [Description(@"公司编码")]
        public System.String  CompanyCode
        {
            get { return m_CompanyCode; }
            set
            {
                //if(m_CompanyCode!=value)
                {
                    m_CompanyCode=value;
                    UpdateColumn(@"CompanyCode");
                }
            }
        }
        
        System.String m_ComapnyName;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.String  ComapnyName
        {
            get { return m_ComapnyName; }
            set
            {
                //if(m_ComapnyName!=value)
                {
                    m_ComapnyName=value;
                    UpdateColumn(@"ComapnyName");
                }
            }
        }
        
        System.Boolean m_IsValid;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.Boolean  IsValid
        {
            get { return m_IsValid; }
            set
            {
                //if(m_IsValid!=value)
                {
                    m_IsValid=value;
                    UpdateColumn(@"IsValid");
                }
            }
        }
        
        System.DateTime m_ExpireDate;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.DateTime  ExpireDate
        {
            get { return m_ExpireDate; }
            set
            {
                //if(m_ExpireDate!=value)
                {
                    m_ExpireDate=value;
                    UpdateColumn(@"ExpireDate");
                }
            }
        }
        
        System.Int32 m_MaxEmployee;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.Int32  MaxEmployee
        {
            get { return m_MaxEmployee; }
            set
            {
                //if(m_MaxEmployee!=value)
                {
                    m_MaxEmployee=value;
                    UpdateColumn(@"MaxEmployee");
                }
            }
        }
        
        System.String m_CommonEmail;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.String  CommonEmail
        {
            get { return m_CommonEmail; }
            set
            {
                //if(m_CommonEmail!=value)
                {
                    m_CommonEmail=value;
                    UpdateColumn(@"CommonEmail");
                }
            }
        }
        
        System.String m_CommonQq;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.String  CommonQQ
        {
            get { return m_CommonQq; }
            set
            {
                //if(m_CommonQq!=value)
                {
                    m_CommonQq=value;
                    UpdateColumn(@"CommonQq");
                }
            }
        }
        
        System.String m_CommonWeiXinNo;
        /// <summary>
        /// 未定义
        ///</summary>
        [XmlAttribute()]
        [Description(@"未定义")]
        public System.String  CommonWeiXinNo
        {
            get { return m_CommonWeiXinNo; }
            set
            {
                //if(m_CommonWeiXinNo!=value)
                {
                    m_CommonWeiXinNo=value;
                    UpdateColumn(@"CommonWeiXinNo");
                }
            }
        }
        
        #endregion
        
        
       
    }
} 



